Package com.vasco.orchestration.client
Interface Orchestrator
public interface Orchestrator
The
Orchestrator interface is the entry point of the Orchestration SDK. It allows the
execution of orchestration commands providing seamless two-factor authentication.
Creation
You can create an orchestrator using the internal class Orchestrator.Builder. This builder will
provide you with the minimal required configuration for the orchestrator.
Subsequent configurations can be done during the lifecycle of the Orchestrator object
by using the related setters.
Provisioning
In order to provision the SDK with a DIGIPASS instance, a call to startActivation(ActivationParams activationParams) must be performed.
All subsequent orchestration commands transmission shall be done through the execute(String) method.
Notification registration
In order to provision the SDK with a DIGIPASS instance, a call to startNotificationRegistration(NotificationRegistrationParams activationParams) must
be performed.
Commands
All subsequent orchestration commands transmission shall be done through theexecute(String) method.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidExecutes an Orchestration Command provided by the server.Provides aCDDCDataFeederobject that allows integrator to set CDDC data values .getCDDCMessage(CDDCMessageParams cddcMessageParams) Provides aUserManagerobject that allows manipulation of users and DIGIPASSes.voidsetErrorCallback(OrchestrationErrorCallback orchestrationErrorCallback) Sets the callback to be notified of errors.voidsetRemoteAuthCallback(RemoteAuthenticationCallback remoteAuthenticationCallback) Sets the callback to be notified about remote authentication events.voidsetRemoteTranCallback(RemoteTransactionCallback remoteTransactionCallback) Sets the callback to be notified about remote transaction validation events.voidsetUserAuthenticationCallback(UserAuthenticationCallback userAuthenticationCallback, UserAuthenticationCallback.UserAuthentication[] types) Sets the callback to override the way a user authentication will be displayed.voidsetWarningCallback(OrchestrationWarningCallback orchestrationWarningCallback) Sets the callback called when warnings happen.voidstartActivation(ActivationParams activationParams) Starts the activation process.voidstartChangePassword(ChangePasswordParams changePasswordParams) Starts password changing.voidstartLocalAuthentication(LocalAuthenticationParams localAuthenticationParams) Starts a local authentication process.voidstartLocalTransaction(LocalTransactionParams localTransactionParams) Starts a local transaction process.voidstartNotificationRegistration(NotificationRegistrationParams notificationRegistrationParams) Starts registering for push notifications.
-
Field Details
-
VERSION
CurrentOrchestratorversion.- See Also:
-
-
Method Details
-
execute
Executes an Orchestration Command provided by the server.- Parameters:
command- the Orchestration Command provided by the server, as an hexadecimal string.
-
startActivation
Starts the activation process. -
startNotificationRegistration
void startNotificationRegistration(@NonNull NotificationRegistrationParams notificationRegistrationParams) Starts registering for push notifications. -
startChangePassword
Starts password changing. -
startLocalAuthentication
Starts a local authentication process. This method is used to generate a one-time password using a specified protection type and an optional challenge. -
startLocalTransaction
Starts a local transaction process. This method is used to generate a signature from specified data fields and using a specified protection type. -
getUserManager
UserManager getUserManager()Provides aUserManagerobject that allows manipulation of users and DIGIPASSes.- Returns:
- a
UserManagerobject
-
getCDDCDataFeeder
CDDCDataFeeder getCDDCDataFeeder()Provides aCDDCDataFeederobject that allows integrator to set CDDC data values .- Returns:
- a
CDDCDataFeederobject
-
getCDDCMessage
- Parameters:
cddcMessageParams-CDDCMessageParamsobject- Returns:
- a
CDDCMessageobject, with the CDDC data in clear text or encrypted.
-
setRemoteAuthCallback
Sets the callback to be notified about remote authentication events. -
setRemoteTranCallback
Sets the callback to be notified about remote transaction validation events. -
setErrorCallback
Sets the callback to be notified of errors. -
setWarningCallback
Sets the callback called when warnings happen. -
setUserAuthenticationCallback
void setUserAuthenticationCallback(@NonNull UserAuthenticationCallback userAuthenticationCallback, UserAuthenticationCallback.UserAuthentication[] types) Sets the callback to override the way a user authentication will be displayed.- Parameters:
userAuthenticationCallback- aUserAuthenticationCallbackobjecttypes- an array ofUserAuthenticationCallback.UserAuthenticationthe type of user authentication that will be overridden.
-